Change the 'result_type' from unsigned to 'uint_fast32_t'. This eliminates truncation warnings on Linux git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@174669 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/include/algorithm b/include/algorithm index e24f979..4adcc69 100644 --- a/include/algorithm +++ b/include/algorithm
@@ -2764,7 +2764,7 @@ __rs_default(); public: - typedef unsigned result_type; + typedef uint_fast32_t result_type; static const result_type _Min = 0; static const result_type _Max = 0xFFFFFFFF;